*{
    margin: 0;
    padding: 0;
    font-family: '微软雅黑';
    font-weight: normal;
}
.comwidth{
   width: 100%;
}
.fr{
    float: right;
}
.fl{
    float: left;
}
.clearfix:after{
    content: '';
    display: block;
    clear: both;
    visibility: hidden;
    opacity: 0;
}
.header{
  height: 52px;
  width: 100%;
  line-height: 52px;
  font-size: 18px;
  color: #444444;
  padding: 0 2%;
}
.search-input{
    position: relative;
    height: 35px;
    margin-top: 12px;
    width: 340px;
    margin-right: 20px;
}
.search-input a{
    position: absolute;
    display: block;
    width: 35px;
    height: 35px;
    right: 5px;
    top: 0;
}
.search-input a img{
    width: 100%;
    height: 100%;
    display: block;
}
.search{
    box-sizing: border-box;
    width: 340px;
    height: 35px;
    padding-left: 10px;
    padding-right: 40px;
    border: 1px solid #cddeea;
    display: block;
    outline: none;
    border-radius: 17px;
}
.refresh{
    display: block;
    width: 35px;
    height: 35px;
    margin-top: 16px;
}
.refresh img{
    display: block;
    width: 100%;
    height: 100%;
}

.case-list{
    margin-top: 33px;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.case-list li{
  box-sizing: border-box;
    display: flex;
  width: 22%;
  flex-basis: 22%;
    flex-direction: column;
  margin: 0 20px;
  margin-bottom: 25px;
    border-radius:11px;
    box-shadow: 0 3px 5px 0 rgba(0,0,0,.3);
    padding: 15px 0 0;
    background: #faf9f6;
    &>p{
      text-align: center;
      font-size: 18px;
      color: #fff;
      margin-bottom: 15px;
    }
  &.bg-1{
    background: linear-gradient(to right bottom, #fdae52, #f25c29);
  }
  &.bg-2{
    background: linear-gradient(to right bottom, #988bea, #8170e8);
  }
  &.bg-3{
    background: linear-gradient(to right bottom, #42bcf8, #4496f4);
  }
}
.case-list-img{
    width: 160px;
    height: auto;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    margin-right: 15px;
    flex: 4;
}
.case-top{
  display: flex;
  flex-direction: row;
  padding: 0 20px 20px;
}
.case-list-info{
    flex: 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
   color: #fff;
}
.case-list-join{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.case-list-info>p{
    font-size: 20px;
    color: #666;
    line-height: 24px;
    margin-bottom: 5px;
    white-space: nowrap;

}
.case-list-info>span{
    font-size: 14px;
    margin: 3px 0 3px 5px;
    color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.case-list-info>p span{
    background: #ffa200;
    border: 2px solid #ffa200;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    vertical-align: middle;
    margin-top: -4px;
    display: inline-block;
}
.case-list-info>p span i{
    font-style: normal;
    color: #ffa200;
    background: #fff;
    display: inline-block;
    padding: 0 5px;
}
.join{
    display: block;
    text-align: center;
    font-size: 16px;
    color: #444444;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    margin: 0 auto;
  box-shadow: 0 2px 3px 0 rgba(0,0,0,.4);
}
.join.disabled{
    background: #ccc;
    cursor: not-allowed;
}


.game-wait{
    margin-top: 33px;
}
.host{
    width: 430px;
    height: 368px;
    justify-content: flex-start;
    background: #faf9f6;
    border-radius: 5px;
    margin-right: 25px;
}
.host p{
    height: 43px;
    background: #ffa200;
    text-align: center;
    line-height: 43px;
    color: #fff;
    border-radius: 5px 5px 0 0;
}
.role{
    border-radius: 5px;
    width: 202px;
    height: 173px;
    background: #faf9f6;
    margin: 0 25px 22px 0;
}
.role>p{
    text-align: center;
    height: 30px;
    line-height: 30px;
}
.role>p:first-child{
    color: #ffa200;
}
.role-img{
    margin: 0 auto;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
}

.main{
	&>div{
	  background: #fff;
	  margin-left: 0px;
	  min-height: auto;
	}
  }
